Use correct stat struct for ftw()
authorРуслан Ижбулатов <lrn1986@gmail.com>
Sun, 10 Jun 2018 21:05:30 +0000 (21:05 +0000)
committerRaspbian forward porter <root@raspbian.org>
Wed, 22 Nov 2023 04:54:09 +0000 (04:54 +0000)
commit830ab0d3af0d97f83eee6d6ffc4634385e24d2ec
tree53994b9d32ab9bd119628336cf89738d33ea65de
parent407aa835b0b91cf1bc3ad79e93fad5ffffb6ee80
Use correct stat struct for ftw()

check_dir_mtime() is called by ftw() and is given
the real stat struct, not its glib version (which may
or may not be the same as "struct stat").

This is irrelevant for MSVC (it has no ftw()) and
works correctly for MinGW-w64 (which declares stat
structures correctly). If mingw.org complains, add
a special ifdef for it later.

Origin: upstream, 3.24.39, commit:7e17693cced0db855bfe0997f26633ca8bdd48cc

Gbp-Pq: Name Use-correct-stat-struct-for-ftw.patch
gtk/updateiconcache.c